import axios from '@/utils/axios'
import moment from "moment";

export function getResultPieceList(params) {
  return axios({
    url: '/ResultPiece/list',
    method: 'post',
    data: params
  })
}

export function addResultPieceList(params) {
    return axios({
      url: '/ResultPiece/add',
      method: 'post',
      data: params
    })
  }

  export function getBackPieceList(params) {
    return axios({
      url: '/ResultPiece/BackPieceList',
      method: 'post',
      data: params
    })
  }

  export function BackPieceAdd(params) {
    return axios({
      url: '/ResultPiece/BackAdd',
      method: 'post',
      data: params
    })
  }

  export function updateBackAdd(params) {
    return axios({
      url: '/ResultPiece/updateBackAdd',
      method: 'post',
      data: params
    })
  }